<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title><?php echo $html_title;?></title>
<meta name="keywords" content="<?php echo $seo_keywords; ?>" />
<meta name="description" content="<?php echo $seo_description; ?>" />
<style type="text/css">
body {
_behavior: url(__SHOP_DEFAULT__/css/csshover.htc);
}
.nc-appbar-tabs a.compare { display: none !important;}
</style>
<link href="__SHOP_DEFAULT__/css/base.css" rel="stylesheet" type="text/css">
<link href="__SHOP_DEFAULT__/css/home_cart.css" rel="stylesheet" type="text/css">
<link href="__SITE_RESOURCE__/js/perfect-scrollbar.min.css" rel="stylesheet" type="text/css"/>
<link href="__SHOP_RESOURCE__/font/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
<!--[if IE 7]>
  <link rel="stylesheet" href="__SHOP_RESOURCE__/font/font-awesome/css/font-awesome-ie7.min.css">
<![endif]-->
<script>
var CART_UPDATE = '{:url("shop/Cart/update")}';
	
	
var COOKIE_PRE = '<?php echo COOKIE_PRE;?>';
var _CHARSET = '<?php echo strtolower(CHARSET);?>';
var SITEURL = '__PUBLIC__';
var MEMBER_SITE_URL = '<?php echo MEMBER_SITE_URL;?>';
var RESOURCE_SITE_URL = '__SITE_RESOURCE__';
var RESOURCE_SITE_URL = '__SITE_RESOURCE__';
var SHOP_TEMPLATES_URL = '__SHOP_DEFAULT__';
var PRICE_FORMAT = '￥%s';
Number.prototype.toFixed = function(d)
{
    var s=this+"";if(!d)d=0;
    if(s.indexOf(".")==-1)s+=".";s+=new Array(d+1).join("0");
    if (new RegExp("^(-|\\+)?(\\d+(\\.\\d{0,"+ (d+1) +"})?)\\d*$").test(s))
    {
        var s="0"+ RegExp.$2, pm=RegExp.$1, a=RegExp.$3.length, b=true;
        if (a==d+2){a=s.match(/\d/g); if (parseInt(a[a.length-1])>4)
        {
            for(var i=a.length-2; i>=0; i--) {a[i] = parseInt(a[i])+1;
            if(a[i]==10){a[i]=0; b=i!=1;} else break;}
        }
        s=a.join("").replace(new RegExp("(\\d+)(\\d{"+d+"})\\d$"),"$1.$2");
    }if(b)s=s.substr(1);return (pm+s).replace(/\.$/, "");} return this+"";
};
</script>
<script src="__SITE_RESOURCE__/js/jquery.js"></script>
<script src="__SITE_RESOURCE__/js/common.js"></script>
<script src="__SITE_RESOURCE__/js/jquery-ui/jquery.ui.js"></script>
<script src="__SITE_RESOURCE__/js/jquery.validation.min.js"></script>
<script src="__SITE_RESOURCE__/js/jquery.poshytip.min.js"></script>
<script type="text/javascript" src="__SITE_RESOURCE__/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="__SITE_RESOURCE__/js/jquery.mousewheel.js"></script>
<script type="text/javascript" src="__SITE_RESOURCE__/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
<?php if (FU_current_controller() != 'BuyVirtual') {?>
<script src="__SHOP_RESOURCE__/js/goods_cart.js"></script>
<?php } else { ?>
<script src="__SHOP_RESOURCE__/js/buy_virtual.js"></script>
<?php } ?>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
      <script src="__SITE_RESOURCE__/js/html5shiv.js"></script>
      <script src="__SITE_RESOURCE__/js/respond.min.js"></script>
<![endif]-->
</head>
<body>
		{include file="common/top" /}
	<header class="ncc-head-layout">
    <div class="site-logo">
    	<a href="{:url('home/Index/index')}">
    		<img src="__APP__{:sysconf('site_logo')}" class="pngFix">
    	</a>
    </div>
    <?php if (FU_current_action() != 'pd_pay' && $_POST['payment_code'] != 'wxpay') { ?>
    <ul class="ncc-flow">
      <li class="<?php echo $buy_step == 'step1' ? 'current' : '';?>"><i class="step1"></i>
        <p>我的购物车</p>
        <sub></sub>
        <div class="hr"></div>
      </li>
      <li class="<?php echo $buy_step == 'step2' ? 'current' : '';?>"><i class="step2"></i>
        <p>确认订单</p>
        <sub></sub>
        <div class="hr"></div>
      </li>
      <li class="<?php echo $buy_step == 'step3' ? 'current' : '';?>"><i class="step3"></i>
        <p>支付提交</p>
        <sub></sub>
        <div class="hr"></div>
      </li>
      <li class="<?php echo $buy_step == 'step4' ? 'current' : '';?>"><i class="step4"></i>
        <p>订单完成</p>
        <sub></sub>
        <div class="hr"></div>
      </li>
    </ul>
    <?php } ?>
  </header>
<div class="ncc-wrapper">

  {block name="content"}{/block}

</div>
{include file="common/footer" /}
<script>
//提示信息
$('.tip').poshytip({
	className: 'tip-yellowsimple',
	showOn: 'hover',
	alignTo: 'target',
	alignX: 'center',
	alignY: 'top',
	offsetX: 0,
	offsetY: 5,
	allowTipHover: false
});
</script>

</body>
</html>
